]> dgit.raspbian.org Git - gnome-shell.git/commit
animation: Stop the animation before removing all the children
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 14 Jun 2019 14:48:16 +0000 (17:48 +0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 9 Sep 2019 19:28:18 +0000 (19:28 +0000)
commitea4d5f89eb01c4cb4ec92840adef576cf13af0f9
treefa4b3b7615d263cd3d2ee24afb1f8a6a954683aa
parent9e388ebcfd48e2b659856cdf8138ebcddd3b02bc
animation: Stop the animation before removing all the children

If the resource scale or the scale factor changes while the animation
is playing, we need to stop the animation and start it again once the
texture is loaded, as the idle might try to access an invalidated
animation child otherwise.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/700
js/ui/animation.js